#include "historyfocus.h"
#include "ui_historyfocus.h"
#include "mainwindow.h"

historyfocus::historyfocus(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::historyfocus)
{
    ui->setupUi(this);
}

historyfocus::~historyfocus()
{
    delete ui;
}

void historyfocus::on_calendarWidget_clicked(const QDate &date)
{
    MainWindow*w=new MainWindow;
    w->select_history_of_oneday(date);
}
